package com.iweb.mapper;

import com.iweb.model.Game;

import java.util.List;

/**
 * Time :2022/8/15 12:47
 * Author : kriller
 * Project : steam-malls
 */

public interface GameMapper {
    List<Game> selectList();

    List<Game> selectByName(String gameName);

    List<Game> selectByTag(String tagName);

    Game selectById(Integer gameID);

    void insertGame(Game game);

    void updateGame(Game game);

    void deleteGame(Integer gameId);

    List<String> selectGameTag(Integer gameId);
}
